#include "stdio.h"

int minimumOperations(int *nums, int numsSize) {
    int bucket[101] = {};
    for (int i = 0; i < numsSize; i++) {
        if (nums[i] != 0) {
            bucket[nums[i]]++;
        }
    }
    int res = 0;
    for (int i = 0; i < 101; i++) {
        if (bucket[i] > 0) {
            res++;
        }
    }
    return res;
}


int main() {
    int a[] = {1, 5, 0, 3, 5};
    printf("%d\n", minimumOperations(a, 4));
}